package dao

import (
	"go-ocr/db"
	"go-ocr/db/model"
)

const measureInfoTable = "measureinfo"

func (c MeasureInfoInterfaceImp) Insert(info *model.MeasureInfo) error {
	cli := db.Get()
	return cli.Table(measureInfoTable).Create(info).Error
}
